﻿namespace OdaOperation.Model
{
    public class TableModelTitle
    {
        public string Title { get; set; }

        public double Size { get; set; } = 7.4515;


        public static implicit operator TableModelTitle(string value)
        {
            return new TableModelTitle
            {
                Title = value
            };
        }

        public static implicit operator TableModelTitle((string value, double size) value)
        {
            TableModelTitle tableModelTitle = new TableModelTitle();
            (tableModelTitle.Title, tableModelTitle.Size) = value;
            return tableModelTitle;
        }
    }
}